﻿* Encoding: UTF-8.

CROSSTABS
  /TABLES=Q97 BY AGESCB CIvilstånd2 EDUSCB IncomeSCB Q101
  /FORMAT=AVALUE TABLES
  /STATISTICS=CHISQ 
  /CELLS=COUNT ROW 
  /COUNT ROUND CELL.

USE ALL.
COMPUTE filter_$=(Age74=1).
VARIABLE LABELS filter_$ 'Age74=1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

CROSSTABS
  /TABLES=Q97 BY OCCUSCB 
  /FORMAT=AVALUE TABLES
  /STATISTICS=CHISQ 
  /CELLS=COUNT ROW 
  /COUNT ROUND CELL.

